﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using YArchitech.LIB;

namespace YArchitech.HVAC
{
	public partial class RadiatorSelectSpaceForm : System.Windows.Forms.Form
	{
		public RadiatorSelectSpaceForm()
		{
			this.InitializeComponent();
			new YJKProcessTools().ShowInTaskbarChange(this);
		}

		private void button1_Click(object sender, EventArgs e)
		{
			base.DialogResult = DialogResult.OK;
			if (this.rbCurrent.Checked)
			{
				this.isCurrent = true;
			}
			else
			{
				this.isCurrent = false;
			}
			base.Close();
		}

		private void button2_Click(object sender, EventArgs e)
		{
			base.DialogResult = DialogResult.Cancel;
			base.Close();
		}

		public bool isCurrent = true;
	}
}
